<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="/css/layui.css" rel="stylesheet">
<link href="/css/style.css?v=4.1.0" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
  <div class="row">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-content">
          <form class="form-horizontal m-t" id="signupForm">
            <div class="form-group" hidden>
              <label class="col-sm-3 control-label">物资id：</label>
              <div class="col-sm-8">
                <input id="materialId" name="materialId" class="form-control" type="text" th:value="${materialId}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">移交人：</label>
              <div class="col-sm-8">
                <input id="outUser" name="outUser" class="form-control" type="text">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">接管人：</label>
              <div class="col-sm-8">
                <input id="inUser" name="inUser" class="form-control" type="text">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label">移交时间：</label>
              <div class="col-sm-8 layui-inline"> <!-- 注意：这一层元素并不是必须的 -->
                <input id="transferTime" name="transferTime" lay-verify="date" autocomplete="off" class="form-control" type="text" readonly="readonly">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-8 col-sm-offset-3">
                <button type="submit" class="btn btn-primary">提交</button>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<div th:include="include::footer"></div>
<script src="/js/lay/laydate/laydate.js"></script>
<!--<script src="/js/content.js"></script>-->
<script type="text/javascript" src="/js/appjs/cms/material/transfer.js"></script>
<script type="text/javascript">

  // 执行一个laydate实例
  laydate.render({
    elem: '#transferTime', //指定元素
    trigger: 'click',
  });
</script>
</body>
</html>
